+Mon Nov 19 12:28:02 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkframe.c (gtk_frame_class_init): label_xalign
+ and label_yalign need to be float properties to
+ correspond to GTK+-1.2, to gtk_frame_set_label_align,
+ and to the types of the xalign and yalign properties of GtkMisc.
+ (#63484, Vitaly Tishkov)
+
Mon Nov 19 12:24:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.h (struct _GtkSocketClass): Fix return
+Mon Nov 19 12:28:02 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkframe.c (gtk_frame_class_init): label_xalign
+ and label_yalign need to be float properties to
+ correspond to GTK+-1.2, to gtk_frame_set_label_align,
+ and to the types of the xalign and yalign properties of GtkMisc.
+ (#63484, Vitaly Tishkov)
+
Mon Nov 19 12:24:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.h (struct _GtkSocketClass): Fix return
+Mon Nov 19 12:28:02 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkframe.c (gtk_frame_class_init): label_xalign
+ and label_yalign need to be float properties to
+ correspond to GTK+-1.2, to gtk_frame_set_label_align,
+ and to the types of the xalign and yalign properties of GtkMisc.
+ (#63484, Vitaly Tishkov)
+
Mon Nov 19 12:24:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.h (struct _GtkSocketClass): Fix return
+Mon Nov 19 12:28:02 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkframe.c (gtk_frame_class_init): label_xalign
+ and label_yalign need to be float properties to
+ correspond to GTK+-1.2, to gtk_frame_set_label_align,
+ and to the types of the xalign and yalign properties of GtkMisc.
+ (#63484, Vitaly Tishkov)
+
Mon Nov 19 12:24:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.h (struct _GtkSocketClass): Fix return
+Mon Nov 19 12:28:02 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkframe.c (gtk_frame_class_init): label_xalign
+ and label_yalign need to be float properties to
+ correspond to GTK+-1.2, to gtk_frame_set_label_align,
+ and to the types of the xalign and yalign properties of GtkMisc.
+ (#63484, Vitaly Tishkov)
+
Mon Nov 19 12:24:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.h (struct _GtkSocketClass): Fix return
+Mon Nov 19 12:28:02 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkframe.c (gtk_frame_class_init): label_xalign
+ and label_yalign need to be float properties to
+ correspond to GTK+-1.2, to gtk_frame_set_label_align,
+ and to the types of the xalign and yalign properties of GtkMisc.
+ (#63484, Vitaly Tishkov)
+
Mon Nov 19 12:24:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.h (struct _GtkSocketClass): Fix return
+Mon Nov 19 12:28:02 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkframe.c (gtk_frame_class_init): label_xalign
+ and label_yalign need to be float properties to
+ correspond to GTK+-1.2, to gtk_frame_set_label_align,
+ and to the types of the xalign and yalign properties of GtkMisc.
+ (#63484, Vitaly Tishkov)
+
Mon Nov 19 12:24:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.h (struct _GtkSocketClass): Fix return
G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_LABEL_XALIGN,
- g_param_spec_double ("label_xalign",
- _("Label xalign"),
- _("The horizontal alignment of the label."),
- 0.0,
- 1.0,
- 0.5,
- G_PARAM_READABLE |
- G_PARAM_WRITABLE));
+ g_param_spec_float ("label_xalign",
+ _("Label xalign"),
+ _("The horizontal alignment of the label."),
+ 0.0,
+ 1.0,
+ 0.5,
+ G_PARAM_READABLE |
+ G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_LABEL_YALIGN,
- g_param_spec_double ("label_yalign",
- _("Label yalign"),
- _("The vertical alignment of the label."),
- 0.0,
- 1.0,
- 0.5,
- G_PARAM_READABLE |
- G_PARAM_WRITABLE));
+ g_param_spec_float ("label_yalign",
+ _("Label yalign"),
+ _("The vertical alignment of the label."),
+ 0.0,
+ 1.0,
+ 0.5,
+ G_PARAM_READABLE |
+ G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_SHADOW,
g_param_spec_enum ("shadow", NULL,
gtk_frame_set_label (frame, g_value_get_string (value));
break;
case PROP_LABEL_XALIGN:
- gtk_frame_set_label_align (frame, g_value_get_double (value),
+ gtk_frame_set_label_align (frame, g_value_get_float (value),
frame->label_yalign);
break;
case PROP_LABEL_YALIGN:
gtk_frame_set_label_align (frame, frame->label_xalign,
- g_value_get_double (value));
+ g_value_get_float (value));
break;
case PROP_SHADOW:
case PROP_SHADOW_TYPE:
g_value_set_string (value, gtk_frame_get_label (frame));
break;
case PROP_LABEL_XALIGN:
- g_value_set_double (value, frame->label_xalign);
+ g_value_set_float (value, frame->label_xalign);
break;
case PROP_LABEL_YALIGN:
- g_value_set_double (value, frame->label_yalign);
+ g_value_set_float (value, frame->label_yalign);
break;
case PROP_SHADOW:
case PROP_SHADOW_TYPE:
{
GtkContainerClass parent_class;
- gboolean (*plug_added) (GtkSocket *socket);
+ void (*plug_added) (GtkSocket *socket);
gboolean (*plug_removed) (GtkSocket *socket);
};